
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <title>dbBIP</title>
    <!-- Bootstrap core CSS -->
    <link rel="icon" href="http://bioinfo.ahu.edu.cn/dbBIP/image/sourcebicon.png">
    <link href="/css/bootstrap.css" rel="stylesheet">
    <link href="/css/ie10-viewport-bug-workaround.css" rel="stylesheet">
    <link href="/css/navbar-fixed-top.css" rel="stylesheet">
    <link rel="stylesheet" href="/css/bootstrap.min.css">
</head>
<body>
<div class="container">
    
    <div class="panel panel-info logo ">

        <img src="/picture/The_Starry_Night_v2.png" alt="logo" id='logo' align="center" height="100%" width="100%">
    </div>
    <nav class="navbar navbar-default ">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>

        </div>
        <div id="navbar" class="navbar-collapse collapse">
            <ul class="nav navbar-nav">
                <li class="dropdown"><a href="../index.html"> Home</a></li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">SNP<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="SNP_PGC2.html"> PGC2 GWAS</a></li>
                        <li><a href="SNP_PGC3.html"> PGC3 GWAS</a></li>
                        <li><a href="Functional_SNPs.html"> Functional SNPs</a></li>
                    </ul>
                </li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Gene<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="geneList.html">Gene Browser System</a>
                            
                        <li><a href="Gene_PGC3_SMR.html">Genes identified by SMR</a></li>
                        <li><a href="Gene_TWAS_V2.html">Genes identified by TWAS</a></li>
                        
                        <li><a href="GeneExpressedDifferentially.html">Genes expressed differentially in PsychENCODE</a>
                        <li><a href="Genes_Identified_by_GWAS.html">Genes Identified by GWAS</a>
                        <li><a href="exonic.html">Genes Identified by exome sequencing</a>
                        <li><a href="">Genes Identified by CNVs</a>
                        
                        </li>
                    </ul>
                </li>

                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
                        Analysis<span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="LocusZoom.html"> LocusZoom</a></li>
                        <li><a href="AnalysisTranscripteQTL.html">Transcript eQTL query</a></li>
                        <li><a href="AnalysiseQTL.html">Gene eQTL query</a></li>
                        <li><a href="ExpressionPatternAnalysis.html">Expression pattern analysis</a></li>
                        <li><a href="ProteinProteinInteraction.html">Protein-Protein Interaction</a></li>
                        <li><a href="Co-expression.html">Co-expression</a></li>
                        <li><a href="GTEx.html">Tissue expression analysis</a></li>
                    </ul>
                </li>

            </ul>
            <ul class="nav navbar-nav navbar-right">
                <li><a href="Download.html"><span class="glyphicon glyphicon-cloud-download" aria-hidden="true"></span> Download</a>
                </li>
                <li><a href="Manual.html"><span class="glyphicon glyphicon-book" aria-hidden="true"></span> Manual</a></li>
                <li class=""><a href="javascript:;"><span class="glyphicon glyphicon-user" aria-hidden="true"></span> About Us<span class="sr-only">(current)</span></a></li>
            </ul>
        </div>
    </nav>

    <div class="panel panel-default">
        <div class="panel-body  panel-table">
            <h3 align="center">Genes affected by CNVs</h3>
            <hr>

            <form action="/dbBIP/search_CNV" method="post" class="form-inline" role="form">
                <div class="col-md-8">
                    <!-- input Genes -->
                    <div class="panel panel-primary">
                        <div class="panel-heading">
                            <h3 class="panel-title">Genes</h3>
                        </div>
                        <div class="panel-body">
                            <!--<input type="text" class="form-control" placeholder="Username" aria-describedby="sizing-addon1" name="snp">-->
                            <textarea class="form-control" id="gene" maxlength="200" name="gene" rows="5" style="width: 100%;">
</textarea>

                        </div>
                    </div>
                    <p><span class="snp-or">or - Input one of the 3 panels</span></p>

                    <!-- input cytoband -->
                    <div class="panel panel-success">
                        <div class="panel-heading">
                            <h3 class="panel-title">Cytoband</h3>
                        </div>
                        <div class="panel-body">
                            <div class="snp-region form-group">
									<span style="display: inline-block; padding-bottom: 3px;">
										<label style="font-weight: bold;" for="cytoband" class="form-label">Cytoband&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
										<select id="cytoband" name="cytoband" class="form-control">
											<option value="-" selected="selected">----</option>
											<option value="15q11.2">15q11.2</option>
											<option value="16p11.2">16p11.2</option>
											<option value="16p11.2 distal">16p11.2 distal</option>
											<option value="16p13.11">16p13.11</option>
											<option value="17q12">17q12</option>
											<option value="1q21.1">1q21.1</option>
											<option value="22q11.2">22q11.2</option>
											<option value="2p16.3">2p16.3</option>
											<option value="7q11.23">7q11.23</option>
											<option value="7q36.3">7q36.3</option>
											<option value="15q13.3">15q13.3</option>
											<option value="3q29">3q29</option>
											<option value="17p12">17p12 </option>

										</select>
									</span>
                            </div>
                        </div>
                    </div>
                    <p><span class="snp-or">or - Input one of the 3 panels</span></p>

                    <!-- input Chromosome -->
                    <div class="panel panel-info">
                        <div class="panel-heading">
                            <h3 class="panel-title">Region</h3>
                        </div>
                        <div class="panel-body">
                            <div class="snp-region form-group">
									<span style="display: inline-block; padding-bottom: 3px;">
										<label style="font-weight: bold;" for="chromosome" class="form-label">Chromosome&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
										<select id="chromosome" name="chromosome" class="form-control">
	                                        <option value="1" selected="selected">chr1</option>
											<option value="15">chr15</option>
											<option value="16">chr16</option>
											<option value="17">chr17</option>
											<option value="2">chr2</option>
											<option value="19">chr19</option>
											<option value="22">chr22</option>
											<option value="7">chr7</option>
										</select>
									</span>
                            </div>

                            <div class="snp-region form-group">
                                <label style="font-weight: bold;" for="start" class="form-label">Genome Position</label>
                                <div class="input-group">
                                    <input class="form-control" id="start" maxlength="20" name="start" type="text" value="">

                                    <span class="input-group-addon">-</span>
                                    <input class="form-control" id="end" maxlength="20" name="end" type="text" value="">

                                    <span class="input-group-addon">bp</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="col-md-4">
                    <div class="panel panel-default">
                        <div class="panel-heading"><a href="#" style="cursor:hand"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> Example for Genes</a>
                        </div>
                        <div class="panel-body">
                            AATF<br>
                            C16orf45<br>
                            C22orf39<br>
                        </div>
                    </div>
                    <p><span class="snp-or" style="visibility:hidden;">or - Input one of the 3 panels</span></p>

                    <div class="panel panel-default" style="margin-top:13px;">
                        <div class="panel-heading"><a href="#" style="cursor:hand"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> Example for
                            Cytoband</a></div>
                        <div class="panel-body">
                            2p16.3<br>
                        </div>
                    </div>
                    <p><span class="snp-or" style="visibility:hidden;">or - Input one of the 3 panels</span></p>

                    <div class="panel panel-default" style="margin-top:12px;">
                        <div class="panel-heading"><a href="#" style="cursor:hand"><span class="glyphicon glyphicon-hand-right" aria-hidden="true"></span> Example for Region</a>
                        </div>
                        <div class="panel-body">
                            Chromosome chr22<br>
                            Genome Position 21319000 - 21420000 bp
                        </div>
                    </div>
                </div>

                <div class="col-md-12">
                    <div class="sub_button">
                        <button type="submit" class="btn btn-success" value="Search">Search</button>
                        <button type="reset" class="btn btn-info" value="Reset">Reset</button>
                    </div>
                </div>

            </form>

            <div class="col-md-12 panel-note">
                <div class="panel panel-warning">
                    <div class="panel-heading">
                        <h4 class="panel-title"><span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span> Where does this data come from?
                        </h4>
                    </div>
                    <div class="panel-body">
                        <p class="note-source">
                            In 2016, Green et al. analyzed the CNV status of 41,321 subjects (2,591 bipolar disorder
                            cases and 8,842 healthy controls) and identified 3 independent CNV loci were associated with
                            bipolar disorder: duplications at 1q21.1, deletions at 3q29 and duplications at 16p11.2. We
                            collected this result and identified genes that were affected by these CNVs. More details
                            about this data can be found in the original publicatioin (Green EK, Rees E, Walters JT, et
                            al. 2016. Copy number variation in bipolar disorder. Molecular Psychiatry 2016; 21(1):89-93.
                            <a href='javascript:;' target='_blank'>PMID: 25560756</a>).
                        </p>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="container">
    
    <div class="container">
    <div class="footer">

        <div class="copyright">
            Copyright©
            <a class="ow" href="../index1.html" target="_blank">AnHui University</a> ©All Rights
            Reserved.
        </div>
        <div>
            <a class="ow" href="javascript:;" target="_blank">皖ICP备20012750号-1</a>
        </div>
    </div>

</div>

<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/js/jquery-2.1.3.min.js"></script>
<script>window.jQuery || document.write('<script src="..//assets/js/vendor/jquery.min.js"><\/script>')</script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/ie10-viewport-bug-workaround.js"></script>

<script language="javascript" type="text/javascript">
    $(function () {
        var $panel_snp_height = $('div.panel-primary').height();
        $('div.panel-default:eq(1)').css("height", $panel_snp_height);
        $('div.panel-primary div.panel-body').mouseup(function () {
            var $panel_snp_height = $('div.panel-primary').height();
            $('div.panel-default:eq(1)').css("height", $panel_snp_height);
        })

        var $panel_gene_height = $('div.panel-success').height();
        $('div.panel-default:eq(2)').css("height", $panel_gene_height);

        var $panel_region_height = $('div.col-md-8 div.panel-info').height();
        $('div.panel-default:eq(3)').css("height", $panel_region_height);

        $('div.panel-heading a:eq(0)').click(function () {

            $('textarea.form-control:eq(0)').html("AATF\nC16orf45\nC22orf39");
        })
        $('div.sub_button button:eq(1)').click(function () {
            $('textarea.form-control:eq(0)').html("")
        })

        $('div.panel-heading a:eq(1)').click(function () {
            $('div.form-group select#cytoband').val("2p16.3");
        })

        $('div.panel-heading a:eq(2)').click(function () {
            $('div.form-group select#chromosome').val("22");
            $('div.input-group>input#start').val("19318221");
            $('div.input-group>input#end').val("19435224");
        })


        function split(val) {
            return val.split(/\n/);
        }

        function extractLast(term) {
            return split(term).pop();
        }

        $("#gene")
            // don't navigate away from the field on tab when selecting an item
            .on("keydown", function (event) {
                if (event.keyCode === $.ui.keyCode.TAB &&
                    $(this).autocomplete("instance").menu.active) {
                    event.preventDefault();
                }
            })
            .autocomplete({
                minLength: 0,
                source: function (request, response) {
                    // delegate back to autocomplete, but extract the last term
                    response($.ui.autocomplete.filter(
                        availableTags, extractLast(request.term)));
                },
                focus: function () {
                    // prevent value inserted on focus
                    return false;
                },
                select: function (event, ui) {
                    var terms = split(this.value);
                    // remove the current input
                    terms.pop();
                    // add the selected item
                    terms.push(ui.item.value);
                    // add placeholder to get the comma-and-space at the end
                    terms.push("");
                    this.value = terms.join("\n");
                    return false;
                }
            });
    })
</script>
</div></body>
</html>